Markov
Node Data | |
|---|---|
Display name | |
Markov | |
Internal name | |
Node_Markov | |
Inheritances | |
| Node_Processor | |
| Node_Markov | |
Inputs | |
surface |
Surface In |
Matching | |
surface |
Match |
palette |
Match Group |
slider |
Threshold |
enum |
Transform |
enum |
Boundary |
Tiling | |
enum |
Tiling |
ivec2 |
Tile Size |
ivec2 |
Tile Offset |
Replacement | |
surface |
Replace |
slider |
Replace Chance |
float |
Maximum Count |
enum |
Transform |
bool |
Reverse Order |
Outputs | |
surface |
Surface Out |
Match surface pattern and replace with different surface.
Properties
| Matching | |
| Match | Pattern to match. |
| Match Group | Colors in these group will be treat as the same color. |
| Threshold | Maximum different between two pixels to still be consider the same color. |
| Transform | Apply match to rotated, flip surface. |
| Boundary | Method for dealing with boundary pixels: - Ignore: Treat overflow pixel as always matched. - Stop: Treat overflow pixel as always unmatched. - Clamp: Clamp pixel edge. |
| Tiling | |
| Tiling | Spaced out pattern matching in tile instead of overlapping per pixels. |
| Replacement | |
| Replace | Pattern to replace to. |
| Replace Chance | Chance to replace. |
| Maximum Count | Set the limit of how many replacements can be done. Set to zero for no limit. |
| Transform | Apply random transformation. |
| Reverse Order | Reverse replacement order. |
Commit History
| 1.20.3.1 |
|
|---|
Related Links
- Base Code: /scripts/node_markov/node_markov.gml
- Shader [sh_markov_match]: /shaders/sh_markov_match/sh_markov_match.fsh